#ifndef MATERIAL_H
#define MATERIAL_H
#include "Texture.cu"
#include "Vector3.cu"
#include "global_object.h"
#include <string>

using namespace std;

class Material : public DeviceObject
{
public:
	string name;

	Vector3 ambient;
	Vector3 diffuse;
	Vector3 specular;
	Vector3 transmissive;
	float phongExp;
	float refrIndex;

	Texture* ambientTex;
	Texture* diffuseTex;
	Texture* specularTex;
	Texture* bumpMap;


	inline __host__ __device__  Material(void){
		this->size = sizeof(Material);
	}
	inline __host__ __device__  ~Material(void);
};

#endif